import React from 'react';
import { observer, inject } from 'mobx-react';
import { Icon } from 'weaver-mobile';

@inject('createProjectStore')
@observer
export default class AccordionWraps extends React.Component {
    render() {
        const { createProjectStore: { dialogSwitch }, id } = this.props;
        return <Icon type={dialogSwitch.get(id) ? 'take-up' : 'open'} size='xxs'> </Icon>
    }
}